﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="OpenBankAccount.aspx.cs" Inherits="Operator_OpenBankAccount" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 227px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">

  
     <br />
    <asp:HyperLink ID="OperatorOpenBankAccountLink" NavigateUrl="../Operator/OperatorPanel.aspx" runat="server">Панель оператора</asp:HyperLink>
&nbsp;→&nbsp;
    <asp:HyperLink ID="OperatorOpenBankAccountLink2" NavigateUrl="../Operator/Clients.aspx" runat="server">Клиенты</asp:HyperLink>
&nbsp;→&nbsp;<asp:HyperLink ID="OperatorOpenBankAccountLink3" NavigateUrl="../Operator/BankAccounts.aspx" runat="server">Счета клиента</asp:HyperLink>
&nbsp;→&nbsp;
   <b> <asp:Label ID="OperatorOpenBankAccountLabel" runat="server" Text="Открытие нового счета" ForeColor="Black"></asp:Label></b>
    <br />
     <br />
<table>

<tr>
<td>
    <asp:Label ID="CompanyNameLabel" runat="server" Text="Название предприятия:"></asp:Label>
</td>
<td class="style1">
    <asp:TextBox ID="CompanyName" runat="server" Enabled="false"></asp:TextBox>
</td>
</tr>


<tr>
<td>
    <asp:Label ID="Label1" runat="server" Text="Валюта счёта"></asp:Label>
</td>
<td class="style1">
    <asp:DropDownList ID="CurrencyList" runat="server" 
        DataSourceID="SqlDataSourceCurrency" DataTextField="Name" 
        DataValueField="CurrencyID"></asp:DropDownList>
    <asp:SqlDataSource ID="SqlDataSourceCurrency" runat="server" 
        ConnectionString="<%$ ConnectionStrings:DatabaseConnectionString %>" 
        SelectCommand="SELECT [Name], [CurrencyID] FROM [Currency]">
    </asp:SqlDataSource>
</td>
</tr>

</table>
<br/>
    <asp:Button ID="CreateBankAccountButton" runat="server" Text="Открыть счёт" 
        onclick="CreateBankAccountButton_Click" />

</asp:Content>

